package com.sunlands.qdcy.deskmate.vo;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

/**
 * Created by li on 2017/12/15.
 */
@Data
public class ResultVO<T> {


    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Integer code;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String message;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    private T data;





    public ResultVO(int status, String message,T data ){
        this.code = status;
        this.message = message;
        this.data = data;
    }

    public ResultVO(){
    }
}
